home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / progs / editor / frexxed / fpl / htmlmode.fpl < prev    next >
Text File  |  1996-11-17  |  575b  |  23 lines

  1.  
  2. void export HtmlModeInit()
  3. {
  4.   SetInfo(-1, "html_mode", 1);
  5.   SetInfo(-1, "face", "HTML");
  6. }
  7.  
  8. /* Create HTML face mode */
  9. {
  10.   int face = FaceGet("HTML", 1); /* create one if missing */
  11.   if(face) {
  12.     int style;
  13.     style = FaceStyle("html-tags", "bold", 1, 0);
  14.     FaceAdd(face, style, "<", "anywhere|strong", ">");
  15.   }
  16. }
  17.  
  18. ConstructInfo("html_mode", "","", "LBH","", 0,0,0);
  19. ConstructInfo("html_mode_ext", "","", "GSHW","", 0,0,"*html*");
  20. ConstructInfo("html_mode_exe", "","", "GSHW","", 0,0,"HtmlModeInit();");
  21.  
  22. AddMode(1, "html_mode", "html_mode_ext", "html_mode_exe");
  23.